package com.jersey.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * package com.jersey.entity
 * description:
 *
 * @author tree
 * @date 2019-06-03 21:14
 */
@Data
//@AllArgsConstructor
//@NoArgsConstructor
public class User {
    private int id;
    private String name;
    private String email;

    public User() {
    }

    public User(int id, String name, String email) {
        this.id = id;
        this.name = name;
        this.email = email;
    }
}
